package com.atguigu.jxc.dao;

import com.atguigu.jxc.domain.SaleDataByMonthVo;
import com.atguigu.jxc.entity.SaleList;
import com.atguigu.jxc.entity.SaleListGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: lshuaib
 * @create: 2021-03-08 11:57
 * @description:
 */
public interface SaleGoodsDao {

    Integer save( SaleList saleList);

    List<SaleList> selectSaleGoods(@Param("saleNumber") String saleNumber, @Param("customerId") Integer customerId, @Param("state") Integer state, @Param("sTime") String sTime, @Param("eTime") String eTime);

    List<SaleDataByMonthVo> getSaleDataByMonth(@Param("month") String month);

    void delete(@Param("saleListId") Integer saleListId);
}
